export default {
  state: {
    personMinInterval: 3,
    personMaxInterval: 5,
    msgMinInterval: 3,
    msgMaxInterval: 5,
    openSleep: false,
    sleepStartTime: '',
    sleepEndTime: ''
  },
  mutations: {
    setSendConfig(state, opt) {
      state.personMinInterval = opt.personMinInterval;
      state.personMaxInterval = opt.personMaxInterval;
      state.msgMinInterval = opt.msgMinInterval;
      state.msgMaxInterval = opt.msgMaxInterval;
      state.openSleep = opt.openSleep;
      state.sleepStartTime = opt.sleepStartTime;
      state.sleepEndTime = opt.sleepEndTime;
    },
  }


}